from django.test import TestCase

# Create your tests here.


# # 示例 1：字符串 → UUID 整数
# original_str = "hello123"
# uuid_int = string_or_int_to_uuid_int(original_str)
# int_to_data[uuid_int] = original_str  # 存储映射
# print(f"原始字符串: {original_str} → UUID 整数: {uuid_int}")
# print(f"还原数据: {get_original_data(uuid_int)}")
#
# # 示例 2：整数 → UUID 整数
# original_int = 42
# uuid_int = string_or_int_to_uuid_int(original_int)
# int_to_data[uuid_int] = original_int  # 存储映射
# print(f"原始整数: {original_int} → UUID 整数: {uuid_int}")
# print(f"还原数据: {get_original_data(uuid_int)}")
